home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 2: CDPD 1 / Almathera Ten on Ten - Disc 2: CDPD 1.iso / pd / 076-100 / 079 / scnsizer / scnsizer.doc < prev   
Text File  |  1995-03-13  |  1KB  |  38 lines

  1. /* ScnSizer.c
  2.  *
  3.  * Thad Floryan, 7 March 1987
  4.  *
  5.  * Sets the Preferences data for increasing the window bounds.  From the
  6.  * default parameters, RowSizeChange and ColumnSizeChange are the values
  7.  * added to the window size.  ViewXOffset and ViewYOffset are the delta
  8.  * from the default upper left corner.
  9.  *
  10.  * Usage:
  11.  *
  12.  *    CLI> ScnSizer [ row.delta  col.delta  [ -xoffset  -yoffset ] ]
  13.  *
  14.  * argv:     [0]      [1]          [2]      [3]         [4]
  15.  * argc:      1        2           3       4          5
  16.  *
  17.  *        no args causes the present values to be displayed, else
  18.  *        row.delta is the number of rows (V) to be added
  19.  *        col.delta is the number of columns (H) to be added
  20.  *        xoffset is the upper left corner x delta, usually negative
  21.  *        yoffset is the upper left corner y delta, usually negative
  22.  *
  23.  * Note: the Preferences structure is exactly the size of and is stored in
  24.  *     SYS:DEVS/system-configuration.  This program calls RethinkDisplay()
  25.  *     for an immediate screen update if parameters are changed; to save
  26.  *     the parameters permanently, use the Preferences program.
  27.  *
  28.  * This program inspired by Neil Katin's "MoreRows" and enhanced/fixed from
  29.  * Marco Papa's "MyMoreRows".  Compiled and linking using the Manx Axtec C
  30.  * version 3.4a package per:
  31.  *
  32.  *    CLI> cc ScnSizer.c
  33.  *    CLI> ln ScnSizer.o -lc
  34.  *
  35.  * Note also that the AmigaDOS version 1.2 "final" includes must be used
  36.  * else certain definitions (esp. in intuition.h) won't be available.
  37.  */
  38.